package com.macrohard.admin.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.macrohard.mapper.domain.Activity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.stream.Collectors;

/**
* @author 27371
* @description 针对表【activity】的数据库操作Service
* @createDate 2022-07-14 12:32:00
*/
public interface ActivityService extends IService<Activity> {
	Page<Activity> listAll(Page<Activity> page, Wrapper<Activity> wrapper);

	Activity getOne(int id);

}
